package com.balance.anole.business.vo;

import java.io.Serializable;

import com.balance.anole.common.to.CodeLookTO;

public class ProductSearchTO implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4497594488580679042L;

	
	private String productId;	
	private String productDesc;	
	private CodeLookTO productTypeTO = new CodeLookTO();
	private CodeLookTO seasonTO = new CodeLookTO();
	private CodeLookTO sexTO = new CodeLookTO();
	private String assistCode;
	
	


	public ProductSearchTO() {
	}

	public ProductSearchTO(String productId, String productDesc, CodeLookTO productTypeTO,
			CodeLookTO seasonTO, CodeLookTO sexTO, String assistCode) {
		this.productId = productId;
		this.productDesc = productDesc;
		this.productTypeTO = productTypeTO;
		this.seasonTO = seasonTO;
		this.sexTO = sexTO;
		this.assistCode = assistCode;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}
	
	public String getAssistCode() {
		return assistCode;
	}

	public void setAssistCode(String assistCode) {
		this.assistCode = assistCode;
	}	

	public String getProductDesc() {
		return productDesc;
	}

	public void setProductDesc(String productDesc) {
		this.productDesc = productDesc;
	}

	public CodeLookTO getProductTypeTO() {
		return productTypeTO;
	}

	public void setProductTypeTO(CodeLookTO productTypeTO) {
		this.productTypeTO = productTypeTO;
	}

	public CodeLookTO getSeasonTO() {
		return seasonTO;
	}

	public void setSeasonTO(CodeLookTO seasonTO) {
		this.seasonTO = seasonTO;
	}

	public CodeLookTO getSexTO() {
		return sexTO;
	}

	public void setSexTO(CodeLookTO sexTO) {
		this.sexTO = sexTO;
	}

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ProductSearchTO [assistCode=").append(assistCode)
				.append(", productDesc=").append(productDesc).append(
						", productId=").append(productId).append(
						", productType=").append(productTypeTO).append(
						", season=").append(seasonTO).append(", sex=").append(sexTO).append("]");
		return builder.toString();
	}

}
